<div id="header" class="l-f l-f-middle">
    <div id="headerLeft"><i class="iconfont">&#xf602;</i></div>
    <div id="headerTitle" class="l-f-g1 t-center">123</div>
    <div id="headerRight"></div>
    <script>
        $('#headerLeft i').on('click', function(){
            history.back();
        });
    </script>
</div>

<div id="bodyer">
    <div id="insideAd">
        <a href="#"><img src="/img/formBanner.png" alt=""/></a>
    </div>
    <div id="form">
        <?php
            echo \yii\helpers\Html::beginForm('/home/submit' , 'post');
        ?>
<!--        <form action="/home/submit" method="post">-->
            <div class="box">
                <div class="item l-f l-f-middle">
                    <div class="title">公司名称</div>
                    <div class="cont l-f-g1">
                        <input type="text" name="Contactor[company_name]" class="ipt_txt"/>
                    </div>
                    <div class="must">*</div>
                </div>
                <div class="item l-f l-f-middle">
                    <div class="title">公司所属地区</div>
                    <div class="cont l-f-g1">
                        <input type="text" name="" class="ipt_txt"/>
                    </div>
                    <div class="must">*</div>
                </div>
                <div class="item l-f l-f-middle">
                    <div class="title">联系人</div>
                    <div class="cont l-f-g1">
                        <input type="text" name="Contactor[name]" class="ipt_txt"/>
                    </div>
                    <div class="must">*</div>
                </div>
                <div class="item l-f l-f-middle">
                    <div class="title">职务</div>
                    <div class="cont l-f-g1">
                        <input type="text" name="Contactor[position]" class="ipt_txt"/>
                    </div>
                    <div class="must"></div>
                </div>
                <div class="item l-f l-f-middle">
                    <div class="title">手机号码</div>
                    <div class="cont l-f-g1">
                        <input type="tel" name="Contactor[mobile]" class="ipt_txt"/>
                    </div>
                    <div class="must">*</div>
                </div>
                <div class="item l-f l-f-middle">
                    <div class="title">主营产品</div>
                    <div class="cont l-f-g1">
                        <div class="checkbox">
                            <div class="l-f l-f-middle">
                                <div class="l-f-g1">
                                    <input type="checkbox" name="cat[]" id="category1" value="5"/> <label for="category1">发电机组</label>
                                </div>
                                <div class="l-f-g1">
                                    <input type="checkbox" name="cat[]" id="category2" value="6" /> <label for="category2">柴油机</label>
                                </div>
                            </div>
                            <div class="l-f l-f-middle">
                                <div class="l-f-g1">
                                    <input type="checkbox" name="cat[]" id="category3" value="7"/> <label for="category3">发电机</label>
                                </div>
                                <div class="l-f-g1">
                                    <input type="checkbox" name="cat[]" id="category4" value="8"/> <label for="category4">零部件</label>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="must"></div>
                </div>
                <div class="item l-f l-f-middle">
                    <div class="title">公司网址</div>
                    <div class="cont l-f-g1">
                        <input type="text" name="Contactor[web_site]" class="ipt_txt"/>
                    </div>
                    <div class="must"></div>
                </div>
                <div class="item l-f l-f-middle">
                    <div class="title">微信号</div>
                    <div class="cont l-f-g1">
                        <input type="text" name="Contactor[wechat]" class="ipt_txt"/>
                    </div>
                    <div class="must"></div>
                </div>
            </div>
            <div class="btn l-f l-f-middle">
                <div class="l-f-g1">
                    <input type="hidden" name="_csrf"  value=""/>
                    <input type="submit" value="确定提交"/>
                </div>
            </div>
<!--        </form>-->
        <?php
        echo \yii\helpers\Html::endForm();
        ?>
    </div>
</div>

<?=$this->render('_foot');?>
<div id="btnSpace"></div>